var a, b = null, c = 1, d = Math.random(),  e = 'hello',  f = {name: "刘阿勇", age: 22} , g = new Date() ;


console.log(a, b, c, d, e, f, g)

var arr = [a, b, c, d, e, f, g]

console.log('-----------------------\n')
for (var i = 0; i < arr.length; i++) {
	console.log(JSON.stringify(arr[i]))
}

console.log('-----------------------\n')
for (var i = 0; i < arr.length; i++) {
	try {
		var ret = JSON.parse(arr[i])
		console.log('ret = ', ret)
		
	}catch(e) {

	}
}



console.log(JSON.parse('{"name":"刘阿勇","age":22}'))


